package com.stars.entity.dto.pshow;

import lombok.Data;
import java.math.BigDecimal;
import com.stars.common.annotation.Dict;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.ArrayList;
import java.util.List;
import com.stars.common.base.dto.BaseDto;
import com.stars.common.base.BaseUUID;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Title: 组织管理DTO
 * @author 肖伟
 * @date 2020-01-04
 * @version V1.0
 *
 */
@Data
public class PShowOrgDTO extends BaseDto{

	/**组织名称*/
	@ApiModelProperty(value ="组织名称",name = "orgName")
	private String orgName;
	/**组织编码*/
	@ApiModelProperty(value ="组织编码",name = "orgCode")
	private String orgCode;
	/**父ID*/
	@ApiModelProperty(value ="父ID",name = "pid")
	private String pid;
	/**层级*/
	@ApiModelProperty(value ="层级",name = "layer")
	private Integer layer;
	/**排序号*/
	@ApiModelProperty(value ="排序号",name = "sortNum")
	private Integer sortNum;
	private boolean expanded;
	private boolean leaf;
	//空参数查询标记
	private Boolean nullFlagQuery =false;
	private List<PShowOrgDTO> children = new ArrayList<>();
}